'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true,
});
exports.useFieldContext = exports.default = exports.FieldContextProvider = void 0;
var _react = require('react');
var FieldContext = /*#__PURE__*/ (0, _react.createContext)(undefined);
var _default = FieldContext;
exports.default = _default;
var FieldContextProvider = FieldContext.Provider;
exports.FieldContextProvider = FieldContextProvider;
var useFieldContext = function useFieldContext() {
  return (0, _react.useContext)(FieldContext);
};
exports.useFieldContext = useFieldContext;
